distance bgp
This command allows the use of external, internal, and local administrative distances that could be a better route than other external, internal, or local routes to a node.
Syntax
distance bgp <external distance> <internal distance> <local routes>
Command |
Description |
---|---|
external distance |
Defines distance for routes external to the AS [1-255]. |
internal distance |
Defines distance for routes internal to the AS [1-255]. |
local routes |
Defines distance for local routes [1-255]. |
Default
NA
Command Mode
Privileged User
Example
The following is an example of how to use this command.
(config data) # distance bgp 200 200 100